* {
    box-sizing: border-box;
}

html,
body,
#root {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    font-size: 0.26rem;
    color: #666;
    overflow: auto;
    background-color: #F6F6F6;
}

a,
a:focus,
a:active,
a:hover {
    color: #666;
}


@font-face {
    font-family: "iconfont";
    /* Project id 4673232 */
    src: url('./iconfont/iconfont.woff2?t=1725411190757') format('woff2'),
        url('./iconfont/iconfont.woff?t=1725411190757') format('woff'),
        url('./iconfont/iconfont.ttf?t=1725411190757') format('truetype');
}

.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

$colorPrimary: #1890ff;
$colorSuccess: #13ce66;
$colorWarning: #ffba00;
$colorDanger: #ff4949;
$colorInfo: #5d5d5d;
$colorTextRegular: #252631;
$colorTextLight: #778ca2;
$colorTextLighter: #a6b6c6;

$borderColorLight: #dfe4ed;
$borderColorLighter: #e6ebf5;

$bgPage: #f5f7fd;
$border: #e9ecf7;

$tableHeader: #f5f7fa;

$colorSelect: #3eb3cd;

.c-primary {
    color: $colorPrimary !important;
}

.c-success {
    color: $colorSuccess !important;
}

.c-warning {
    color: $colorWarning !important;
}

.c-danger {
    color: $colorDanger !important;
}

.c-info {
    color: $colorInfo !important;
}

.c-select {
    color: $colorSelect !important;
}

.yuan-btn {
    border-radius: 0.08rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.1rem;
}
.primary-btn {
    border: solid 1px #16DCAB;
    background: linear-gradient(to right, #16DCAB 0%, #00A67D 100%);
    color: #fff;
  }
.info-btn {
    border: solid 1px #fff;
    background: #fff;
    color: #01A97F;
  }

.nowrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yuan-form {
    .form-item{
        display: flex;
        align-items: center;
        padding: 0 0.15rem;
        margin-bottom: 0.15rem;
    }
    .form-item-row{
        display: flex;
        align-items:start;
        padding: 0 0.15rem;
        margin-bottom: 0.15rem;
    }
    .form-select,.form-input,.form-textarea,.form-date {
        display: inline-block;
        background-color: #fff;
        border: solid 1px #eee;
        height: 0.6rem;
        line-height: 0.6rem;
        padding: 0 0.1rem;
        position: relative;
        border-radius: 4px;
        flex-grow: 1;
        font-size: 0.26rem;
    }
    .form-textarea{
        height: unset;
        line-height: 0.4rem;
        padding: 0.1rem;
    }

    .form-select::after {
        content: '\e613';
        position: absolute;
        right: 0.1rem;
    }
    .form-date::after {
        content: '\e60a';
        position: absolute;
        right: 0.1rem;
    }
    .form-placeholder {
        color: #888;
    }
    .form-label{
        width: 1.8rem;
        text-align: right;
    }
    .must-label {
        position: relative;
    }
    .must-label::before {
        content: '*';
        color: #F34038;
        font-size: 0.28rem;
        vertical-align: middle;
    
    }
    .form-unit{
        font-size: 0.24rem;
        padding-left: 0.06rem;
    }
}


// 修改vant 样式
.van-uploader__wrapper{
    margin-left: 0 !important;
}
.van-uploader__preview-delete{
    display: flex;
    align-items: center;
    justify-content: center;
}
.van-image__img{
    border: solid 1px #eee;
}